home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / dev / lang / f2c_amiga1.lha / f2c-1993.04.28amiga / source-patches / patches-for-libI77 < prev    next >
Text File  |  1993-12-01  |  2KB  |  71 lines

  1. diff -c ORIG-libI77/fio.h libI77/fio.h
  2. *** ORIG-libI77/fio.h    Wed Apr 28 07:29:46 1993
  3. --- libI77/fio.h    Wed Nov 17 15:10:22 1993
  4. ***************
  5. *** 5,10 ****
  6. --- 5,16 ----
  7.   #include "stddef.h"
  8.   #endif
  9.   
  10. + #ifdef AMIGA
  11. + #ifndef NON_UNIX_STDIO
  12. + #define NON_UNIX_STDIO /* keeps Amiga gcc happy :) */
  13. + #endif
  14. + #endif
  15.   #ifndef SEEK_SET
  16.   #define SEEK_SET 0
  17.   #define SEEK_CUR 1
  18. Only in libI77: local.h
  19. diff -c ORIG-libI77/makefile libI77/makefile
  20. *** ORIG-libI77/makefile    Wed Apr 28 07:29:51 1993
  21. --- libI77/makefile    Thu Nov 18 00:54:16 1993
  22. ***************
  23. *** 1,21 ****
  24.   .SUFFIXES: .c .o
  25. ! CC = cc
  26. ! CFLAGS = -O
  27.   SHELL = /bin/sh
  28.   
  29.   # compile, then strip unnecessary symbols
  30.   .c.o:
  31.       $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
  32. -     ld -r -x -o $*.xxx $*.o
  33. -     mv $*.xxx $*.o
  34.   
  35.   OBJ =    Version.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
  36.       fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
  37.       rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o uio.o \
  38.       util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o
  39.   libI77.a:    $(OBJ)
  40.           ar r libI77.a $?
  41.           ranlib libI77.a
  42.   install:    libI77.a
  43.       cp libI77.a /usr/lib/libI77.a
  44.       ranlib /usr/lib/libI77.a
  45. --- 1,24 ----
  46.   .SUFFIXES: .c .o
  47. ! CC = gcc
  48. ! CFLAGS = -O2
  49.   SHELL = /bin/sh
  50.   
  51.   # compile, then strip unnecessary symbols
  52.   .c.o:
  53.       $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
  54.   
  55. + #    ld -r -x -o $*.xxx $*.o
  56. + #    mv $*.xxx $*.o
  57.   OBJ =    Version.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
  58.       fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
  59.       rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o uio.o \
  60.       util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o
  61.   libI77.a:    $(OBJ)
  62.           ar r libI77.a $?
  63.           ranlib libI77.a
  64.   install:    libI77.a
  65.       cp libI77.a /usr/lib/libI77.a
  66.       ranlib /usr/lib/libI77.a
  67.